package com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.InvestType;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.PageVO;

/**
 * Created by Lnq on 2016/8/17.
 */
public class InvestAccountForm extends PageVO {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    @Length(max = 20)
    protected String keyword;
    @NotBlank
    @Length(max = 255)
    protected String branch_no;
    @NotBlank
    @IntegerString
    @EnumValue(enumClass = InvestType.class)
    protected String state_type;

    public String getBranch_no() {
        return branch_no;
    }

    public void setBranch_no(String branch_no) {
        this.branch_no = branch_no;
    }

    public String getState_type() {
        return state_type;
    }

    public void setState_type(String state_type) {
        this.state_type = state_type;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("InvestAccountForm{");
        sb.append("keyword='").append(keyword).append('\'');
        sb.append(", branch_no='").append(branch_no).append('\'');
        sb.append(", state_type='").append(state_type).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
